package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanAlipayCreditDao;
import com.open.system.domain.LoanAlipayCreditDO;
import com.open.system.service.LoanAlipayCreditService;



@Service
public class LoanAlipayCreditServiceImpl implements LoanAlipayCreditService {
	@Autowired
	private LoanAlipayCreditDao loanAlipayCreditDao;
	
	@Override
	public LoanAlipayCreditDO get(Long id){
		return loanAlipayCreditDao.get(id);
	}
	
	@Override
	public List<LoanAlipayCreditDO> list(Map<String, Object> map){
		return loanAlipayCreditDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanAlipayCreditDao.count(map);
	}
	
	@Override
	public int save(LoanAlipayCreditDO loanAlipayCredit){
		return loanAlipayCreditDao.save(loanAlipayCredit);
	}
	
	@Override
	public int update(LoanAlipayCreditDO loanAlipayCredit){
		return loanAlipayCreditDao.update(loanAlipayCredit);
	}
	
	@Override
	public int remove(Long id){
		return loanAlipayCreditDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanAlipayCreditDao.batchRemove(ids);
	}
	
}
